﻿using Common.Communal;
using MediatR;
using System.DTO;

namespace System.Api.Read.Applications.Commands.Users
{
    public class UsersQueryCommand:IRequest<ApiResult<ApiPaging<UserRoleDTO>>>
    {
        /// <summary>
        /// 用户名称/账户
        /// </summary>
        public string? UserNameAccount { get; set; }
        /// <summary>
        /// 用户状态（0-禁用，1-启用）
        /// </summary>
        public bool? UserStatus { get; set; }
        /// <summary>
        /// 页码
        /// </summary>
        public int Index { get; set; }
        /// <summary>
        /// 页大小
        /// </summary>
        public int Size { get; set; }
    }
}
